package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clwl.supervise.superviseapp.entity.base.CommonSearchEntity;
import com.clwl.supervise.superviseapp.entity.supervise.JgRectification;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface JgRectificationMapper extends BaseMapper<JgRectification> {
    IPage<Map<String, Object>> selectRectificationPage(IPage<Map<String, Object>> page, @Param("params") CommonSearchEntity commonSearchEntity);


    List<JgRectification> selectByCheckId( @Param("checkId") Long id,  @Param("type") String type);

    Long selectRectificationCount(@Param("params") CommonSearchEntity commonSearchEntity);
}